Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[accton/as5835-54x] Fix sfp related function like tx_disable #4763

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

kuanyu99
Copy link
Contributor

  • Fixing incorrect sfp path inside the accton_as5835_54x_util.py

Signed-off-by: kuanyu_chen [email protected]

- Why I did it

The tx_disable function isn't work for the accton_ax5835-54x device.

- How I did it

Fix the incorrect path of the sfp node path inside the util file.

- How to verify it

Test with
"sudo accton_as5835_54x_util.py show"
"sudo accton_as5835_54x_util.py set sfp"

There should see correct value for module_present and module_tx_disable. And should able to set it.

- Description for the changelog

Fix sfp function of the accton_as5835_54x_util.py.

* Fixing incorrect sfp path inside the accton_as5835_54x_util.py

Signed-off-by: kuanyu_chen <[email protected]>
@kuanyu99
Copy link
Contributor Author

retest vsimage please

@kuanyu99
Copy link
Contributor Author

@jleveque Could you help to review this, please?

@jleveque jleveque merged commit f2af8aa into sonic-net:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants